<?php /* Smarty version Smarty-3.1.6, created on 2017-05-19 19:16:21
         compiled from "D:/test.cn/Test/Admin/View\Score\addstudent.html" */ ?>
<?php /*%%SmartyHeaderCode:20070590adc58593202-03119529%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'f1b105d6ac81198bee05f97753caf7eb4adbcc11' => 
    array (
      0 => 'D:/test.cn/Test/Admin/View\\Score\\addstudent.html',
      1 => 1495192507,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '20070590adc58593202-03119529',
  'function' => 
  array (
  ),
  'version' => 'Smarty-3.1.6',
  'unifunc' => 'content_590adc587695e',
  'variables' => 
  array (
    'ma' => 0,
    'error' => 0,
    'teacher' => 0,
    't' => 0,
  ),
  'has_nocache_code' => false,
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_590adc587695e')) {function content_590adc587695e($_smarty_tpl) {?><!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>《C语言程序设计》在线考试系统 - 考生管理 </title>
<meta name="Copyright" content="Douco Design." />
<link href="<?php echo @Admin_URL;?>
css/public.css" rel="stylesheet" type="text/css">
<script type="text/javascript" src="<?php echo @Admin_URL;?>
js/jquery.min.js"></script>
<script type="text/javascript" src="<?php echo @Admin_URL;?>
js/global.js"></script>
</head>
<?php echo $_smarty_tpl->getSubTemplate ("../Index/top.html", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>

 <div id="dcMain">
   <!-- 当前位置 -->
<div id="urHere">题库首页<b>></b><strong>考生管理</strong> </div>   <div id="manager" class="mainBox" style="height:auto!important;height:550px;min-height:550px;">
    <h3><a href="student.html" class="actionBtn">返回列表</a>考生管理</h3>
            <form action="<?php echo @__SELF__;?>
" method="post">
     <table width="100%" border="0" cellpadding="8" cellspacing="0" class="tableBasic">
      <tr>
       <td width="100" align="right">考生姓名</td>
       <td>
        <input type="text" name="name" size="40" class="inpMain" value="<?php echo $_smarty_tpl->tpl_vars['ma']->value['name'];?>
" /> 
        <span style="color:red; padding-left:64px;"><?php echo (($tmp = @$_smarty_tpl->tpl_vars['error']->value['name'])===null||$tmp==='' ? '' : $tmp);?>
</span>
       </td>
      </tr>
      <tr>
       <td width="100" align="right">性别</td>
       <td>
          <select name="sex">
			<option value="男">男</option>
			<option value="女">女</option>
           </select>
          </td>
      </tr>
      <tr>
       <td width="100" align="right">身份证号码</td>
       <td>
        <input type="text" name="id_number" size="40" class="inpMain" value="<?php echo $_smarty_tpl->tpl_vars['ma']->value['id_number'];?>
"/> 
        <span style="color:red; padding-left:64px;"><?php echo (($tmp = @$_smarty_tpl->tpl_vars['error']->value['id_number'])===null||$tmp==='' ? '' : $tmp);?>
</span>
       </td>
      </tr>
       <tr>
          <td align="right">系别</td>
          <td>
	        <input type="text" name="dept" size="40" class="inpMain" value="<?php echo $_smarty_tpl->tpl_vars['ma']->value['dept'];?>
"/> 
	        <span style="color:red; padding-left:64px;"><?php echo (($tmp = @$_smarty_tpl->tpl_vars['error']->value['dept'])===null||$tmp==='' ? '' : $tmp);?>
</span>
	       </td>
      </tr>
      <tr>
          <td align="right">专业</td>
          <td>
	        <input type="text" name="major" size="40" class="inpMain" value="<?php echo $_smarty_tpl->tpl_vars['ma']->value['major'];?>
"/> 
	        <span style="color:red; padding-left:64px;"><?php echo (($tmp = @$_smarty_tpl->tpl_vars['error']->value['major'])===null||$tmp==='' ? '' : $tmp);?>
</span>
	       </td>
      </tr>
      <tr>
       <td align="right">班级</td>
        <td>
	        <input type="text" name="class" size="40" class="inpMain" value="<?php echo $_smarty_tpl->tpl_vars['ma']->value['class'];?>
"/> 
	        <span style="color:red; padding-left:64px;"><?php echo (($tmp = @$_smarty_tpl->tpl_vars['error']->value['class'])===null||$tmp==='' ? '' : $tmp);?>
</span>
	       </td>
      </tr>
      <tr>
          <td align="right">授课老师</td>
          <td>
          <select name="teacher">
         	<?php  $_smarty_tpl->tpl_vars['t'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['t']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['teacher']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['t']->key => $_smarty_tpl->tpl_vars['t']->value){
$_smarty_tpl->tpl_vars['t']->_loop = true;
?>
			<option value="<?php echo $_smarty_tpl->tpl_vars['t']->value['id'];?>
" <?php if ($_smarty_tpl->tpl_vars['ma']->value['teacher']==$_smarty_tpl->tpl_vars['t']->value['id']){?> selected="selected" <?php }?>><?php echo $_smarty_tpl->tpl_vars['t']->value['name'];?>
</option>
			<?php } ?>
           </select>
          </td>
      </tr>
      <tr>
       <td></td>
       <td>
        <input type="submit" class="btn" value="提交" />
       </td>
      </tr>
     </table>
    </form>
                   </div>
 </div>
 <div class="clear"></div>
<div id="dcFooter">
 <div id="footer">
  <div class="line"></div>
  <ul>
《C语言程序设计》在线考试系统，版权所有
  </ul>
 </div>
</div><!-- dcFooter 结束 -->
<div class="clear"></div> </div>
</body>
</html><?php }} ?>